﻿<Page x:Class="Hotel.WPF.ui.Parametrage.P_Parametrage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="584" d:DesignWidth="919"
	Title="P_Parametrage">

    <Grid Background="AliceBlue">
        <Button Content="Button" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" Name="button1" VerticalAlignment="Top" Width="75" Click="button1_Click" />
        <TabControl Name="tc_param" VerticalAlignment="Top" HorizontalAlignment="Left" Width="799" Margin="0,40,0,0" Height="438">
            <TabItem Header="Types de chambre" Name="ti_tchamb">
                <Grid>
                    <GroupBox Header="Ajout Type de Chambre" Height="262" HorizontalAlignment="Left" Margin="10,24,0,0" Name="groupBox2" VerticalAlignment="Top" Width="712">
                        <Grid>
                            <Label Content="Type de chambre" Height="28" HorizontalAlignment="Left" Margin="34,5,0,0" Name="label3" VerticalAlignment="Top" />
                            <Label Content="Tarif standard" Height="28" HorizontalAlignment="Left" Margin="312,5,0,0" Name="label4" VerticalAlignment="Top" />
                            <Label Content="Description" Height="28" HorizontalAlignment="Left" Margin="40,36,0,0" Name="label5" VerticalAlignment="Top" />
                            <Label Content="Nombre de lit" Height="28" HorizontalAlignment="Left" Margin="315,38,0,0" Name="label6" VerticalAlignment="Top" />
                            <Label Content="Fumeur" Height="28" HorizontalAlignment="Left" Margin="40,70,0,0" Name="label7" VerticalAlignment="Top" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="153,8,0,0" Name="tb_nomType" VerticalAlignment="Top" Width="120" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="427,8,0,0" Name="tb_tarifTypeCh" VerticalAlignment="Top" Width="120" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="152,41,0,0" Name="tb_descTypeCh" VerticalAlignment="Top" Width="120" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="427,41,0,0" Name="tb_nbLitTypeCh" VerticalAlignment="Top" Width="120" />
                            <Button Content="Ajouter" Height="28" HorizontalAlignment="Left" Margin="260,124,0,0" Name="bt_ajoutTypeChambre" VerticalAlignment="Top" Width="113" Click="bt_ajoutTypeChambre_Click" />
                            <ComboBox SelectedValuePath="Tag" Height="23" HorizontalAlignment="Left" Margin="152,74,0,0" Name="cb_fumeurTypeCh" VerticalAlignment="Top" Width="120">
                                <ComboBoxItem Tag="1" Content="Oui" />
                                <ComboBoxItem Tag="0" Content="Non" />
                            </ComboBox>
                        </Grid>
                    </GroupBox>
                </Grid>
            </TabItem>
            <TabItem Header="Statut des chambres" Name="ti_schamb">
                <Grid Name="grid1">
                    <GroupBox Header="Ajout Statut Chambre" Height="138" HorizontalAlignment="Left" Margin="10,25,0,0" Name="groupBox1" VerticalAlignment="Top" Width="354">
                        <Grid>
                            <Label Content="Nom statut" Height="28" HorizontalAlignment="Left" Margin="10,10,0,0" Name="label1" VerticalAlignment="Top" />
                            <Label Content="Description" Height="28" HorizontalAlignment="Left" Margin="10,48,0,0" Name="label2" VerticalAlignment="Top" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="98,12,0,0" Name="tb_nomStatutChamb" VerticalAlignment="Top" Width="152" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="97,48,0,0" Name="tb_descStatutChamb" VerticalAlignment="Top" Width="210" />
                            <Button Content="Ajouter" Height="27" HorizontalAlignment="Left" Margin="129,78,0,0" Name="bt_ajoutStatutChambre" VerticalAlignment="Top" Width="91" Click="bt_ajoutStatutChambre_Click" />
                        </Grid>
                    </GroupBox>
                </Grid>
            </TabItem>
            <TabItem Header="Caractéristique des hotels" Name="ti_ch">
                <Grid Name="grid2">
                    <Label Background="#FFD3DCF2" Content="CARACTERISTIQUES DES HOTELS" FontWeight="Bold" Height="28" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" Margin="14,13,130,0" Name="label8" VerticalAlignment="Top" VerticalContentAlignment="Center" />
                    <Rectangle Fill="#FFB1F2B1" Height="188" HorizontalAlignment="Left" Margin="14,188,0,0" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="409" />
                    <DataGrid AutoGenerateColumns="False" Height="170" HorizontalAlignment="Left" IsReadOnly="True" ItemsSource="{Binding}" Margin="20,198,0,0" Name="dg_refCaractHotel" VerticalAlignment="Top" Width="393">
                        <DataGrid.Columns>
                            <DataGridTextColumn Binding="{Binding Code_Caracteristique}" Header="Code" IsReadOnly="True" Width="100" />
                            <DataGridTextColumn Binding="{Binding Description_Caracterisque}" Header="Nom" IsReadOnly="True" Width="200" />
                        </DataGrid.Columns>
                    </DataGrid>
                    <GroupBox Header="Ajout Caractérisque Hotel" Height="110" HorizontalAlignment="Left" Margin="14,48,0,0" Name="groupBox3" VerticalAlignment="Top" Width="565">
                        <Grid>
                            <Button Click="bt_addRefCarctHotel_Click" Content="Ajouter" Height="23" HorizontalAlignment="Left" Margin="401,39,0,0" Name="bt_addRefCarctHotel" VerticalAlignment="Top" Width="126" />
                            <Label Content="Code" Height="28" HorizontalAlignment="Left" Margin="16,6,0,0" Name="label12" VerticalAlignment="Top" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="102,11,0,0" Name="tb_codeCaracHotel" VerticalAlignment="Top" Width="69" />
                            <Label Content="Description" Height="28" HorizontalAlignment="Left" Margin="17,40,0,0" Name="label14" VerticalAlignment="Top" />
                            <TextBox Height="23" HorizontalAlignment="Left" Margin="102,40,0,0" Name="tb_descCaractHotel" VerticalAlignment="Top" Width="249" />
                        </Grid>
                    </GroupBox>
                    <Label Content="Liste des caractéristiques d'hotels" FontWeight="Bold" Height="28" HorizontalAlignment="Left" Margin="17,163,0,0" Name="label22" VerticalAlignment="Top" />
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Page>
